WPTelegram\Core\modules\p2tg\Admin A

Total Complexity 61
Dependencies 8
Dependents 2
Total lines 620
Lines of code 361
Logical lines of code 132
Comment lines 162
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
send2tg_default()
A
51 10 24
create_cmb2_override_metabox()
S
37 2 92
get_field_default()
S
61 7 13
get_macros()
S
40 3 71
update_inline_script_data()
S
49 5 31
get_saved_options()
S
56 5 17
enqueue_admin_scripts()
S
61 5 13
add_post_edit_switch()
S
60 3 15
get_post_type_options()
S
60 3 13
enqueue_block_editor_assets()
S
64 3 11
render_post_edit_switch()
S
59 2 15
hook_into_rest_pre_insert()
S
69 2 6
show_post_edit_switch()
S
66 2 8
may_be_remove_override_metabox()
S
70 2 6
override_opt_default_cb()
S
74 1 4
block_editor_hidden_fields()
S
79 1 3
escape_message_template()
S
76 1 4
post_edit_form_hidden_input()
S
77 1 3
register_rest_routes()
S
77 1 4
do_rest_pre_insert_action()
S
76 1 4
get_override_meta_box_screens()
S
74 1 4